The TimeSerialunction converts the arguments into the variant of subtype Date.
There are three mandatory arguments.
Hour
The Hour argument is the hour as a string or integer.
Minute
The Minute argument is the minute as a string or integer.
Second
The Second argument is the second as a string or integer.
Code: <% =TimeSerial(12, 11, 10) %>
Output: 12:11:10 PM
Code: <% =TimeSerial("12", "11", "10") %>